PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Appearance Manager >

Programming With the Appearance Manager


DrawThemeMenuBackground

Draws a menu background.

pascal OSStatus DrawThemeMenuBackground (
                     const Rect *inMenuRect,
                     ThemeMenuType inMenuType);
inMenuRect
A pointer to a structure of type Rect . Before calling DrawThemeMenuBackground , set the rectangle to contain the entire menu, in global coordinates.
inMenuType
A value of type ThemeMenuType . Pass a constant specifying the type of menu for which to draw a background; see Theme Menu Type Constants for descriptions of possible values.
function result
A result code; see Result Codes .
DISCUSSION

The DrawThemeMenuBackground function draws a theme-compliant menu background in the specified rectangle.

VERSION NOTES

Available with Appearance Manager 1.0.1 and later.


© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)